package com.insta.library.model;

import java.util.Date;

public class Borrow {

	private Subscriber subscriber;
	private Book book;
	private Date borrowingDate;
	private Date returnDate;

	
	public Borrow(Subscriber subscriber, Book book, Date borrowingDate,
			Date returnDate) {
		super();
		this.subscriber = subscriber;
		this.book = book;
		this.borrowingDate = borrowingDate;
		this.returnDate = returnDate;
	}
	
	public Subscriber getSubscriber() {
		return this.subscriber;
	}

	public void setSubscriber(Subscriber subscriber) {
		this.subscriber = subscriber;
	}

	public Book getBook() {
		return this.book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public Date getBorrowingDate() {
		return this.borrowingDate;
	}

	public void setBorrowingDate(Date borrowingDate) {
		this.borrowingDate = borrowingDate;
	}

	public Date getReturnDate() {
		return this.returnDate;
	}

	public void setReturnDate(Date returnDate) {
		this.returnDate = returnDate;
	}

}
